package com.example.mapper;

import com.example.domain.GroupMember;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GroupMemberMapper {

    List<GroupMember> selectGroupMemberListByGroupId(Long groupId);
    int insertGroupMember(GroupMember groupMember);
    int updateGroupMember(GroupMember groupMember);
    int deleteGroupMemberById(Long id);
    int deleteGroupMembersByGroupId(Long groupId);
}
